/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fiki.water.roman;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Roman
 */
public class secondClass implements myInterface {

    @Override
    public float getSalary() {
       return (float)10500.99;
    }

    @Override
    public int getEmployeeNumber() {
        return 69;
    }

    @Override
    public boolean getCurentlyEmployed() {
        return true;
    }

    @Override
    public boolean getRecieveARaise() {
        return false;
    }

    @Override
    public String getName() {
        return "Rafiq";
    }

    @Override
    public double getRaise() {
        return 2000.05;
    }

    @Override
    public String getSurname() {
        return "Roman";
    }
    /*Testing of the Array List and Object equality and object Identity     
     * Will need Array list , an object 
     * if needed another object
     */
    
    /*variables that will be added to our objects*/
    
    private String employeeAddress;
    private int employeeDaysWorked;
    
    //The Array List
    
    List<Integer> myArrayList = new ArrayList<Integer>();
    
    
    /*
       1) Create first Object
     * 2) Create second object
     * 3) Populate the Array List
     */
    
    public secondClass createFirstObject()
    {
        secondClass firstObject = new secondClass();
        
        firstObject.employeeAddress = "Mars";
        firstObject.employeeDaysWorked = 101;
        
        return firstObject;
    }
    
    public secondClass createSecondObject()
    {
        secondClass secondObject = new secondClass();
        
        secondObject.employeeAddress = "Mars";
        secondObject.employeeDaysWorked = 101;
        
        return secondObject;
    }
    
    public List<Integer> returnMyArrayList()
    {
        myArrayList.add(1);
        return myArrayList;
    }
}
